home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / DSOs / forum93 / case3 / func.c next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  98 b   |  12 lines

  1. extern int x;
  2. extern int y;
  3.  
  4. int func(int z) {
  5.  
  6.     if (x > 0) {
  7.     ++y;
  8.     }
  9.     return (y+z);
  10. }
  11.  
  12.